<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<jsp:include page="Header.html" ></jsp:include>
<%@taglib uri="/WEB-INF/tld/struts-html.tld" prefix="html" %> 
<%@taglib uri="/WEB-INF/tld/struts-bean.tld" prefix="bean" %>
<%
	if(session.getAttribute("signupstep1")==null)
			response.sendRedirect("index.jsp");
%>
<head>
	 <link rel="stylesheet" type="text/css" href="css/profile.css"/>
</head>
<body>
<div id="regform" style="padding-top: 100px;">
	<center>
	<html:form action="SignUpStep1" method="post">
	<table cellpadding="10" cellspacing="5">
		<tr>
			<td colspan="2">
				<h1><font color="#FF6633"> Welcome To MetaConnect....</font></h1>
			</td>
		</tr>
		<tr>
			<td align="left" class="field"><span class=mandatory>*</span><bean:message key="MetaConnect.SignUp.email" /></td>
			<td align="left">
				<% 
				String emailId="";
				if(session.getAttribute("signupstep1")!= null)
					 emailId = session.getAttribute("signupstep1").toString();
				%>
				<html:text readonly="true" styleClass="txtfields" property="email" value="<%=emailId %>">
				</html:text></td>
				<td align="left" class="field"><html:errors property="email"></html:errors>
			</td>
		</tr>
		<tr>
			<td align="left" class="field"><span class=mandatory>*</span><bean:message key="MetaConnect.SignUp.name" /></td>
			<td align="left">
				<html:text property="name" styleClass="txtfields" ></html:text></td>
				<td align="left"> 
				<html:errors property="name"></html:errors>
			</td>
		</tr>
		<tr>
			<td  align="left" class="field"><span class=mandatory>*</span><bean:message key="MetaConnect.SignUp.password" /></td>
			<td align="left">
				<html:password property="password" styleClass="txtfields"></html:password></td>
				<td align="left"> 
				<html:errors property="password"></html:errors>
			</td>
		</tr>
		<tr>
			<td align="left" class="field"><span class=mandatory>*</span><bean:message key="MetaConnect.SignUp.confirm_password" /></td>
			<td align="left">
				<html:password property="confirm_password" styleClass="txtfields"></html:password></td>
				<td align="left">
				<html:errors property="confirm_password"></html:errors>
			</td>
		</tr>
		<tr>
			<td align="left" class="field"><span class=mandatory>*</span><bean:message key="MetaConnect.SignUp.gender" /></td>
			<td align="left">
				<html:radio property="gender" value="Male" styleClass="gender">Male</html:radio>
				<html:radio property="gender" value="Female" styleClass="gender">Female</html:radio></td>
				<td align="left"> 
				<html:errors property="gender"></html:errors>
			</td>
		</tr>
		<tr>
			<td align="right"><html:reset value="Reset" styleClass="buttons"></html:reset></td>
			<td align="right"><html:submit value="Next" styleClass="buttons"></html:submit></td>
		</tr>
	</table>
	</html:form>
	</center>
</div>
<jsp:include page="Footer.html"></jsp:include>
</body>